package com.sma.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.sma.pojo.Role;
import com.sma.vo.RoleParams;

@Mapper
public interface RoleDao  {

    public int insertRole(Role role);

    public Role getRole(Long id);

    public List<Role> findRoles(RoleParams roleParams);

    public Integer deleteRole(Long id);
}
